package com.exonline.commons.entity;
/**
 * @desc 服务器在线数据实体类
 * @author hbrj
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OnlineInfo {

    private int onlineUser = 0; //在线用户数

    private int totalUser = 0;   //今日访问用户数

    private String totalProfit = "0"; //今日收益

    private int totalCourses = 0;    //课程总数

    private List<Map<String, Object>> trendsweek;    //收益趋势
    private List<Map<String, Object>> trendsmonth;

    private Map<String, Object>percentage;    //方向占比
    private Map<String,Map<String,Object>>subjectPercentage;
}
